WPIDE\App\Services\Auth\User S

Total Complexity 32
Dependencies 1
Dependents 2
Total lines 175
Lines of code 98
Logical lines of code 37
Comment lines 3
Methods 23
Properties 9

Methods 23

Method Rating Maintainability Complexity Lines of code
checkValidPermissions()
S
65 4 8
hasPermissions()
S
65 3 9
checkValidRole()
S
69 2 6
hasRole()
S
71 2 6
getPermissions()
S
78 2 3
setPermissions()
S
69 2 7
jsonSerialize()
S
63 1 11
setUsername()
S
81 1 3
setRole()
S
77 1 4
getHomeDir()
S
82 1 3
setHomedir()
S
81 1 3
getUsername()
S
82 1 3
__construct()
S
91 1 2
getAvatar()
S
82 1 3
isGuest()
S
80 1 3
getEmail()
S
82 1 3
setEmail()
S
81 1 3
getName()
S
82 1 3
setName()
S
81 1 3
getRole()
S
82 1 3
isAdmin()
S
80 1 3
isUser()
S
80 1 3
setAvatar()
S
81 1 3